
import Resource, \
       Document, \
       Container, \
       Document, \
       Myelin, \
       Topic, \
       Section, \
       Entry, \
       Comment, \
       File, \
       NodeGrouping, \
       UserProfile, \
       GroupProfile, \
       DomainProfile, \
       ErrorDocument, \
       GraphDocument, \
       TextSearchService, \
       VersaQueryService, \
       SparqlService, \
       TextIndexDocument

mods = (
    Resource,
    Document,
    Container,
    Document,
    Myelin,
    Topic,
    Section,
    Entry,
    Comment,
    File,
    NodeGrouping,
    UserProfile,
    GroupProfile,
    DomainProfile,
    ErrorDocument,
    GraphDocument,
    TextSearchService,
    VersaQueryService,
    SparqlService,
    TextIndexDocument,
)

NODE_TYPES = {}
for mod in mods:
    if hasattr(mod, 'NODE_TYPES'):
        NODE_TYPES.update(mod.NODE_TYPES)

del mods
del mod